package com.aid.winter.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserCreateRequest {
    
    @NotBlank(message = "用户名不能为空")
    private String username;
    
    private String password;
    
    @NotBlank(message = "真实姓名不能为空")
    private String realName;
    
    @NotNull(message = "角色类型不能为空")
    private Integer roleType;
    
    private String studentId; // 学生角色必填
    private String idCard;   // 学生角色必填
    private String phone;
} 